package io.fivefire.base.common.enums;

/**
 * Created by huijun on 17-10-29.
 */
public enum ResponseCodeEnum {
    SYSTEM_FOFM_CHECK(102001 , "表单验证未通过"),

    SUCCESS(1, "接口调用成功"),

    FAIL(0, "接口调用失败"),

    PARAM_INVALID(3, "搞啥嘞，你这是啥嘞……"),

    UN_AUTH(4, "用户未认证"),

    EXCEPTION(5,"亲，服务器开小差了"),

    PROMPT(6,"错误提示"),

    NOTEXIST(8,"查询的对象不存在"),
    ;
    private int code;
    private String content;

    ResponseCodeEnum(int code, String content) {
        this.code = code;
        this.content = content;
    }

    public int getCode() {
        return code;
    }

    public String getContent() {
        return content;
    }

}
